package com.zareal.ymcc.service;

import com.zareal.ymcc.domain.CourseOrder;
import com.baomidou.mybatisplus.service.IService;
import com.zareal.ymcc.dto.CourseOrderDto;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Wilson
 * @since 2022-10-19
 */
public interface ICourseOrderService extends IService<CourseOrder> {

    String placeOrder(CourseOrderDto courseOrderDto);
    void saveCourseOrderAndCourseOrderItems(CourseOrder courseOrder);

    CourseOrder selectByOrderNo(String orderNo);
}
